package com.leo.base.initialize;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import java.util.Arrays;

/**
 * @ClassName HelloCommandLineRunner
 * @Description
 * @Author wangss
 * @date 2020.09.20 15:36
 * @Version 1.0
 */
@Slf4j
@Component
public class HelloCommandLineRunner implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        log.info("运行 CommandLineRunner:CommandLineRunner...run...{}", Arrays.asList(args));
    }
}
